<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: rgb(212, 204, 204);
            font-size: 20px;
        }

        input {
            font-size: 20px;
            width: 200px
        }

        #login-container {
            width: 300px;
            height: 230px;
            background-color: #ebdfbd;
            position: relative;
            left: 600px;
            top: 230px
        }

        #avatar {
            width: 50px;
            height: 50px;
            background-image: url('./images/lufei.jpg');
            border-radius: 25px;
            position: relative;
            left: 124px;
        }

        #pwd-box {
            position: relative;
            top: 20px
        }

        #regist{
            position: relative;
            top: 30px;
            left: 30px;
        }
        button {
            width: 200px;
            height: 30px;
            font-size: 20px;
            border-radius: 5px;
            background-color: #1c84c6;
            position: relative;
            top: 30px;
            left: 50px;
        }
    </style>
</head>
<body>
<div id="login-container">
    <div id="avatar">
    </div>
    <hr>
    <form action="/login" method="post">
        <div>
            用户名<input type="text" name="username">
        </div>
        <div id="pwd-box">
            密码<input type="password" name="password">
        </div>
        <div>
            <button>登录</button>
        </div>
        <div id="regist">
            <a href="regist.html">没有账户? 去注册....</a>
        </div>
    </form>
</div>
</body>
</html>